package com.three.productList.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.three.core.entity.ProductReview;
import com.three.productList.vo.EvaluateVo;
import com.three.productList.vo.SearchFormReview;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author ：li
 * @date ：Created in 2025/3/13 013 16:17
 * @description：
 * @modified By：
 * @version:
 */
public interface ProductReviewDao extends BaseMapper<ProductReview> {
    IPage<ProductReview> selectMyList(@Param("page") Page<ProductReview> page,@Param("searchForm") SearchFormReview searchForm);
    List<EvaluateVo> selectEvaluateVoByProductId(Integer productId);
}
